package com.forum.framework.common.util.object;

import java.util.Arrays;

/**
 * @author zihan.ouyang
 */
public class ObjectUtils {
    @SafeVarargs
    public static <T> boolean equalsAny(T obj, T... array) {
        return Arrays.asList(array).contains(obj);
    }
}
